home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / Pac Man.swf / scripts / DefineSprite_136 / frame_2 / DoAction.as
Encoding:
Text File  |  2006-06-13  |  259 b   |  16 lines

  1. fruteatx = _X;
  2. fruteaty = _Y;
  3. if(fruteatx == eval("..:dotx") and fruteaty == eval("..:doty"))
  4. {
  5.    tellTarget("..")
  6.    {
  7.       score += "500";
  8.    }
  9.    tellTarget("../fruty")
  10.    {
  11.       gotoAndStop(2);
  12.    }
  13.    fcount = "0";
  14.    gotoAndStop(1);
  15. }
  16.